<layout name ="common" />
<div class="templatemo-flex-row flex-content-row">
	<div class="templatemo-content-widget white-bg col-2">
		<i class="fa fa-times"></i>
		<div class="square"></div>
		<h2 class="templatemo-inline-block">Mr.Reboot</h2><hr>
		<p>这是我的博客，这里有经验交流，技术心得，最新动态等，记录我成长中学习到的点点滴滴,想了解我的最新动态，请随时关注<a href="hackdream.iok.la">hackdream.iok.la</a></p>
		<p>本网站内容仅代表个人观点</p>
		<p>如果网站内容侵权或雷同，请原作者及时<a href="">留言反馈</a></p>
	</div>
</div>
<div class="templatemo-flex-row flex-content-row">
	<div class="col-1">
		<div class="templatemo-content-widget orange-bg">
			<i class="fa fa-times"></i>
			<div class="media">
				<div class="media-left">
					<a href="__ROOT__/article/showArt/id/{$newArt.id}">
						<img class="media-object img-circle" src="__ROOT__/{$newArt.smallimg}" width="64" height="64">
					</a>
				</div>
				<div class="media-body">
					<h2 class="media-heading text-uppercase">{$newArt.title}</h2>
					<p>{$newArt.profiles}</p>
				</div>
			</div>
		</div>
		<div class="templatemo-content-widget white-bg">
			<i class="fa fa-times"></i>
			<div class="media">
				<div class="media-left">
					<a href="__ROOT__/article/showArt/id/{$hitsArt.id}">
						<img class="media-object img-circle" src="__ROOT__/{$hitsArt.smallimg}"  width="64" height="64">
					</a>
				</div>
				<div class="media-body">
					<h2 class="media-heading text-uppercase">{$hitsArt.title}</h2>
					<p>{$hitsArt.profiles}</p>
				</div>
			</div>
		</div>
	</div>
	<div class="col-1">
		<div class="panel panel-default templatemo-content-widget white-bg no-padding templatemo-overflow-hidden">
			<i class="fa fa-times"></i>
			<div class="panel-heading templatemo-position-relative"><h2 class="text-uppercase">User Table</h2></div>
			<div class="table-responsive">
				<table class="table table-striped table-bordered">
				<thead>
					<tr>
					<td>ID</td>
					<td>NAME</td>
					<td>EMAIL</td>
					<td>登录时间</td>
					</tr>
				</thead>
				<tbody>
				<foreach name='res' item='k'>
					<tr>
					<td>{$k.id}</td>
					<td>{$k.username}</td>
					<td>{$k.email}</td>
					<td>{$k.lastdate|date='Y-m-d H:i:s',###}</td>
					</tr>
				</foreach>
				</tbody>
				</table>
			</div>
			<div class="pagination-wrap">
				{$page}
			</div>
		</div>
	</div>
</div>